package cn.tedu.egnotice1.mapper;

import cn.tedu.egnotice1.pojo.dto.NoticeListQuery;
import cn.tedu.egnotice1.pojo.entity.Notice;
import cn.tedu.egnotice1.pojo.vo.NoticeDetailInfoVO;
import cn.tedu.egnotice1.pojo.vo.NoticeListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface NoticeMapper {
    int insertNotice(Notice notice);
    List<NoticeListVO> selectNotice(NoticeListQuery noticeListQuery);
    NoticeDetailInfoVO selectNoticeById(Long id);
    int deleteNotice(Long id);
    int updateNoticeById(Notice notice);
}
